<?php
include "header.php";
require_once "controller/home_controller.php";
require_once "../include/connectionHandlers/database/Photo.php";
require_once "../include/connectionHandlers/database/Home.php";

$homeController = new home_controller();
$photoList = $homeController->getHomePhotos();

foreach($photoList as $photoUrl)
{	
	echo '<div class="contentHome"/>';
	echo '<img src="'.$photoUrl.'" class="imageHome"/>';
	echo '</div>';
}
?>

<script type="text/javascript">
$("#home").addClass("active");
</script>
<?php
include "footer.php";
?>